package cn.fboost.mtos.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddressAddRequest {
    @NotBlank(message = "收货人不能为空")
    private String name;
    @NotBlank(message = "手机号不能为空")
    private String telephone;

    @NotBlank(message = "地址不能为空")
    private String address;

    @NotNull(message = "是否默认不能为空")
    private Boolean isDefault;
}
